#
# Copyright (c) 2018 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
cmake_minimum_required(VERSION 3.20.0)


######## 用户自定义的.

# Add Custom network core need
set(ZEPHYR_EXTRA_MODULES ${CMAKE_CURRENT_LIST_DIR})
set(mcuboot_OVERLAY_CONFIG ${CMAKE_CURRENT_SOURCE_DIR}/user_conf/custom_mcuboot.conf)
set(OVERLAY_CONFIG ${CMAKE_CURRENT_SOURCE_DIR}/user_conf/custom.conf)
set(DTC_OVERLAY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/user_conf/custom.overlay)

######## 结束

find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(NONE)

# NORDIC SDK APP START
target_sources(app PRIVATE
  src/main.c
)

# NORDIC SDK APP END
zephyr_library_include_directories(.)
